package com.byku.entity;

/*
 *员工类 
 */

public class Employee {
	private long id;
	private String name;
	private String sex;
	private int age;
	private float pay;
	private Department dapartment;//所属部门
	
	public Department getDapartment() {
		return dapartment;
	}
	public void setDapartment(Department dapartment) {
		this.dapartment = dapartment;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getPay() {
		return pay;
	}
	public void setPay(float pay) {
		this.pay = pay;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
}
